home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_jr / rfile < prev    next >
Text File  |  1994-12-20  |  2KB  |  56 lines

  1. rfile:
  2.  
  3. Syntax:    rfile
  4.     rfile NAME 
  5.     rfile NAME1 NAME2 ...
  6.  
  7. Description:
  8.  
  9.     rfile : Prints a list of all the files with a `.r' suffix. The
  10.             list is compiled by searching the directories
  11.             contained in the environment variable
  12.             `RLAB_SEARCH_PATH'. 
  13.  
  14.     rfile NAME : Loads the contents of the file denoted by NAME
  15.             into the workspace. The NAME argument is NOT a string,
  16.             and does not have to include the `.r' suffix. 
  17.  
  18.         Allowable names for rfiles are filenames that start
  19.             with:
  20.             A digit, or a letter (a-z or A-Z).
  21.         and contain:
  22.             digits, letters, and/or `-' `_' `.'
  23.  
  24.             You may not be able to use all the possible filenames
  25.             allowed by the host operating system.
  26.  
  27.     If the user's environment does not contain RLAB_SEARCH_PATH,
  28.     then the default search-path is used. The default is set at
  29.     compile time. Normally the default is ".", the current working
  30.     directory. 
  31.  
  32.     Rfile is a command, not an expression or statement. Therefore,
  33.     it must be issued on a line by itself, and cannot occur in the
  34.     midst of another statement or expression. See `help COMMAND'. 
  35.     The rfile command cannot be continued across lines (no
  36.     continuations). 
  37.  
  38.     The command `rfile name' can be used more than once. Each time
  39.     the command is issued the file `name.r' is loaded. 
  40.  
  41.     The rfile command tries to be friendly. If you give it a
  42.     string without the `.r' extension, it will automatically add
  43.     one for you. If you give is a string with the `.r' extension,
  44.     it will leave it alone.
  45.  
  46.     The contents of the named file can be any valid RLaB commands
  47.     or functions. There is no limit to the number of functions
  48.     that a file can contain. Additionally, a mixture of commands,
  49.     and function definitions can be included in the same file.
  50.  
  51.     Example:
  52.  
  53.     > rfile roots.r poly bode
  54.  
  55. See Also: COMMAND, KEYWORDS, help, load, require
  56.